package com.job.blossom.work0709;

/**
 * @author ZJM
 * @version 1.0
 * @since 2022-07-09 20:06:54
 */
public class Test {
    public static void main(String[] args) {
          Car car = new Lamborghini();

          car.band = "兰博基尼";
        System.out.println(car.band);
          car.showSelf();
          car.speedUp();


          Car car1 = new RedFlag();

          car1.band = "红旗";
        System.out.println(car1.band);
          car1.showSelf();
          car1.speedUp();
    }
}
